#ifndef HAL_TYPE_H
#define HAL_TYPE_H

#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stdarg.h>
#include <stddef.h>




#define _class   struct


typedef enum
{
    DEVICE_TYPE_GEN,
    DEVICE_TYPE_SPI_BUS,
    DEVICE_TYPE_SPI_DEV,
    DEVICE_TYPE_I2C_BUS,
    DEVICE_TYPE_I2C_DEV,
    DEVICE_TYPE_GPIO,
    DEVICE_TYPE_MAX,
}device_type;

typedef enum
{
    DEVICE_STATUS_NOT_INIT,
    DEVICE_STATUS_INITIALIZED,
    DEVICE_STATUS_OPENED,
    DEVICE_STATUS_COLSED,
    DEVICE_STATUS_WORKING,
}device_status;




#endif // HAL_TYPE_H
